cpp-sdl2
C++ header-only SDL2 wrapper
|
deleter usable with std::unique_ptr<T[]>
.
More...
#include <simd.hpp>
Public Member Functions | |
deleter ()=delete | |
constexpr | deleter (std::size_t size) noexcept |
template<typename U , typename = std::enable_if_t<std::is_convertible_v<U (*)[], T (*)[]>>> | |
constexpr | deleter (deleter< U[]> const &other) noexcept |
template<typename U > | |
auto | operator() (U *ptr) -> std::enable_if_t< std::is_convertible_v< U(*)[], T(*)[]>> |
Private Attributes | |
std::size_t | count = 0 |
deleter usable with std::unique_ptr<T[]>
.
|
delete |
|
inlineexplicitnoexcept |
|
inlineexplicitnoexcept |
|
inline |
Definition at line 116 of file simd.hpp.
References sdl::simd::details::destroy_at(), and sdl::simd::free().
|
private |